-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.0.5
-
Code
-
Classes
- MediaLibraryThumbnailModel
Total Complexity |
61 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
345 |
Lines of code |
213 |
Logical lines of code |
109 |
Comment lines |
35 |
Methods |
26 |
Properties |
5 |
Methods 26
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
hasBackup() |
A |
54 |
8 |
22 |
getOptimizeFileType() |
S |
59 |
7 |
14 |
getBackupFile() |
S |
55 |
5 |
21 |
getOptimizeUrls() |
S |
60 |
4 |
16 |
createBackup() |
S |
56 |
3 |
17 |
restore() |
S |
60 |
3 |
14 |
getURL() |
S |
60 |
3 |
14 |
isThumbnailProcessable() |
S |
66 |
3 |
9 |
isSizeExcluded() |
S |
69 |
3 |
6 |
__debugInfo() |
S |
67 |
2 |
8 |
getRetina() |
S |
65 |
2 |
9 |
onDelete() |
S |
66 |
2 |
9 |
getOptimizePaths() |
S |
74 |
2 |
5 |
isUnlisted() |
S |
71 |
2 |
6 |
setVirtualToReal() |
S |
69 |
1 |
7 |
excludeThumbnails() |
S |
79 |
1 |
3 |
__construct() |
S |
67 |
1 |
8 |
resetPrevent() |
S |
82 |
1 |
3 |
isOptimizePrevented() |
S |
82 |
1 |
3 |
preventNextTry() |
S |
81 |
1 |
3 |
loadMeta() |
S |
91 |
1 |
2 |
getMetaObj() |
S |
82 |
1 |
3 |
setMetaObj() |
S |
80 |
1 |
3 |
setName() |
S |
81 |
1 |
3 |
saveMeta() |
S |
91 |
1 |
2 |
getImprovements() |
S |
80 |
1 |
3 |